const actions = {
		setfilename(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_FileName',payload)
				resolve();
			})
		},
		setmenuVisble(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_MenuVisble',payload)
				resolve();
			})
		},
		setsettingVisible(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_SettingVisible',payload)
				resolve();
			})
		},
		setdefaultFontSize(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_DefaultFontSize',payload)
				resolve();
			})
		},
		setdefaultFontFamily(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_DefaultFontFamily',payload)
				resolve();
			})
		},
		setdefaultTheme(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_DefaultDefaultTheme',payload)
				resolve();
			})
		},
		setfontFamilyVisible(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_FontFamilyVisible',payload)
				resolve();
			})
		},
		setcurrentBook(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_CurrentBook',payload)
				resolve();
			})
		},
		setprogress(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_Progress',payload)
				resolve();
			})
		},
		setbookAvailable(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_BookAvailable',payload)
				resolve();
			})
		},
		setsection(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_Section',payload)
				resolve();
			})
		},
		setcoverUrl(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_CoverUrl',payload)
				resolve();
			})
		},
		setmetaData(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_MetaData',payload)
				resolve();
			})
		},
		setnavigation(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_Navigation',payload)
				resolve();
			})
		},
		setoffsetY(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_OffsetY',payload)
				resolve();
			})
		},
		setisBookMark(content,payload) {
			return new Promise(resolve => {
				content.commit('SET_IsBookMark',payload)
				resolve();
			})
		},
	}
	
export default actions